<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="my" uri="/WEB-INF/my.tld"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
		<title>大评委最终结果列表</title>
		<link rel="stylesheet" href="../../css/css.css" type="text/css"></link>
		<link rel="stylesheet" href="../../css/counter.css" type="text/css"></link>
		<style type="text/css">
td{
font-size: 16px;
}
.buttonface {
	background:#999 url(../../images/21_08.gif);
	background-repeat:repeat;
	border: none;
	COLOR: #4c4c4c;
	FONT-SIZE: 12px;
	FONT-STYLE: normal;
	FONT-VARIANT: normal;
	FONT-WEIGHT: normal;
	width: 69px;
	HEIGHT: 21px;
	LINE-HEIGHT: normal;
	cursor:pointer;
}
</style>
		<script type="text/javascript"> 
         function flushList()
           {
           if(confirm('确认清空列表吗?此操作将是不可逆操作！'))
               window.location.href('delTblXmjg3.action');
           }
           function exportList()
           {
           if(confirm('确认导出结果列表吗？请先确认是否是最终列表！'))
               window.location.href('exportTblXmjg3.action');
           }
</script>
	</head>

	<body>
		<table>
			<tr>

				<td colspan="10">
					<IMG src="../../images/manage/arron1.gif">
					<FONT class="font_lv">查询最终投票结果&nbsp;&nbsp;&nbsp;</FONT>
					<s:if test="${!empty xmReviewResults3List}">
						<FONT class="font_lv">如果导出请点击—>&nbsp;</font>
						<input type="button" value="导出结果" class="buttonface"
							onclick="exportList()" />
						<s:if test="${my:checkYear()}">
							<FONT class="font_lv">&nbsp;&nbsp;&nbsp;如果清空列表请点击—>&nbsp;</font>
							<input type="button" value="清空列表" class="buttonface"
								onclick="flushList()" />
						</s:if>
					</s:if>
				</td>
			</tr>
		</table>
		<table cellSpacing="1" cellPadding="1" width="100%" align="center"
			border="0">
			<tr>
				<td class=line>
					<table cellSpacing="1" cellPadding="1" width="100%" align="center"
						border="0" bgcolor="#CCCCCC">

						<tr>

							<td width="6%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								序号
							</td>
							<td width="35%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								项目名称
							</td>
							<td width="25%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								建议等级
							</td>
							<td width="10%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								最终结果
							</td>
							<td width="13%" align="center"
								background="../../images/manage/title_bg.jpg"
								class="font_12_B_w">
								日期
							</td>
						</tr>
						<s:if test="${!empty xmReviewResults3List}">
							<s:iterator value="xmReviewResults3List" status="vote">
								<s:if test="#vote.odd==true">
									<tr bgcolor="#FFFFCC">
								</s:if>
								<s:else>
									<tr bgcolor="#FFFFFF">
								</s:else>
								<td align="center" width="6%">
									<s:property value="${vote.count}" />
								</td>
								<td width="35%" align="center">
									<s:property value="basicInfoModel.name" />
								</td>
								<td width="25%" align="center">
									<s:property value="basicInfoModel.xkmc" />
									组
									<br />
									建议为
									<s:property value="jydj.name" />
								</td>
								<td width="10%" align="center">
									<s:property value="pxjj.name" />
									(
									<s:property value="ps" />
									票)
								</td>
								<td width="13%" align="center">
									<s:date name="psrq" format="yyyy-MM-dd hh:mm" />
								</td>
								</tr>
							</s:iterator>
						</s:if>
						<s:else>
							<tr>
								<td colspan="5" align="center">
									没有生成最终结果，请点击左侧菜单&nbsp;“查询投票计算结果”&nbsp;进行查看！
								</td>
							</tr>
						</s:else>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>

